.class Lcom/estrongs/android/view/CompressGridViewWrapper$j;
.super Ljava/lang/Object;
.source "CompressGridViewWrapper.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/view/CompressGridViewWrapper;->b(Lcom/estrongs/android/pop/view/FileExplorerActivity;Ljava/util/List;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/compress/j;

.field final synthetic b:Lcom/estrongs/android/pop/view/FileExplorerActivity;

.field final synthetic c:Lcom/estrongs/io/archive/aeszip/a;

.field final synthetic d:Lcom/estrongs/fs/impl/compress/b;

.field final synthetic e:Ljava/util/List;


# direct methods
.method constructor <init>(Lcom/estrongs/android/view/CompressGridViewWrapper;Lcom/estrongs/android/pop/app/compress/j;Lcom/estrongs/android/pop/view/FileExplorerActivity;Lcom/estrongs/io/archive/aeszip/a;Lcom/estrongs/fs/impl/compress/b;Ljava/util/List;)V
    .locals 0

    .line 1
    iput-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$j;->a:Lcom/estrongs/android/pop/app/compress/j;

    iput-object p3, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$j;->b:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iput-object p4, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$j;->c:Lcom/estrongs/io/archive/aeszip/a;

    iput-object p5, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$j;->d:Lcom/estrongs/fs/impl/compress/b;

    iput-object p6, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$j;->e:Ljava/util/List;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 1

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$j;->a:Lcom/estrongs/android/pop/app/compress/j;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/compress/j;->a()Ljava/lang/String;

    move-result-object p1

    .line 2
    invoke-static {p1}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/CharSequence;)Z

    move-result p2

    if-eqz p2, :cond_0

    .line 3
    iget-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$j;->b:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    const p2, 0x7f1107a8

    invoke-virtual {p1, p2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object p1

    .line 4
    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$j;->b:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const/4 v0, 0x1

    invoke-static {p2, p1, v0}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    return-void

    .line 5
    :cond_0
    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$j;->c:Lcom/estrongs/io/archive/aeszip/a;

    invoke-virtual {p2, p1}, Lcom/estrongs/io/archive/aeszip/a;->a(Ljava/lang/String;)V

    .line 6
    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$j;->d:Lcom/estrongs/fs/impl/compress/b;

    invoke-virtual {p2, p1}, Lcom/estrongs/fs/impl/compress/b;->b(Ljava/lang/String;)V

    .line 7
    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$j;->e:Ljava/util/List;

    invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p2

    :goto_0
    invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/fs/g;

    .line 8
    check-cast v0, Lcom/estrongs/fs/impl/compress/b;

    .line 9
    invoke-virtual {v0, p1}, Lcom/estrongs/fs/impl/compress/b;->b(Ljava/lang/String;)V

    goto :goto_0

    .line 10
    :cond_1
    iget-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$j;->b:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object p1, p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;->E:Ljava/util/List;

    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$j;->e:Ljava/util/List;

    invoke-interface {p1, p2}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 11
    iget-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$j;->b:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-static {p1}, Lcom/estrongs/android/view/s;->a(Landroid/app/Activity;)Lcom/estrongs/android/view/s;

    move-result-object p1

    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$j;->e:Ljava/util/List;

    iget-object v0, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$j;->b:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-boolean v0, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->w:Z

    .line 12
    invoke-virtual {p1, p2, v0}, Lcom/estrongs/android/view/s;->a(Ljava/util/List;Z)Lcom/estrongs/android/view/t;

    .line 13
    iget-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$j;->a:Lcom/estrongs/android/pop/app/compress/j;

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/q;->dismiss()V

    return-void
.end method
